package com.fqgj.sentry.biz.pc.vo.policyset;

import java.util.List;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-07-31 下午8:45
 */


public class PolicySetResultVo {

    /**
     * 策略集ID
     */
    private Long policySetsId;
    /**
     * 策略集 匹配类型
     */
    private Integer matchingType;

    private List<ResultItem> resultList;


    public static class ResultItem {
        /**
         * 结果id
         */
        private Long resultId;
        /**
         * 策略集结果
         */
        private String result;

        /**
         * 策略集结果描述
         */
        private String resultDesc;
        /**
         * 执行结果 优先级
         */
        private Integer resultPriority;

        /**
         * 类型  1：拒绝  2：人工  3：通过
         * RiskResultEnums
         */
        private Integer resultType;
        /**
         * 1默认  2自定义
         */
        private Integer type;

        /**
         * 是否 删除
         */
        private Boolean delete;

        public Boolean getDelete() {
            return delete;
        }

        public ResultItem setDelete(Boolean delete) {
            this.delete = delete;
            return this;
        }

        public Long getResultId() {
            return resultId;
        }

        public ResultItem setResultId(Long resultId) {
            this.resultId = resultId;
            return this;
        }

        public String getResult() {
            return result;
        }

        public ResultItem setResult(String result) {
            this.result = result;
            return this;
        }

        public String getResultDesc() {
            return resultDesc;
        }

        public ResultItem setResultDesc(String resultDesc) {
            this.resultDesc = resultDesc;
            return this;
        }

        public Integer getResultPriority() {
            return resultPriority;
        }

        public ResultItem setResultPriority(Integer resultPriority) {
            this.resultPriority = resultPriority;
            return this;
        }

        public Integer getResultType() {
            return resultType;
        }

        public ResultItem setResultType(Integer resultType) {
            this.resultType = resultType;
            return this;
        }

        public Integer getType() {
            return type;
        }

        public ResultItem setType(Integer type) {
            this.type = type;
            return this;
        }
    }

    public Integer getMatchingType() {
        return matchingType;
    }

    public PolicySetResultVo setMatchingType(Integer matchingType) {
        this.matchingType = matchingType;
        return this;
    }

    public Long getPolicySetsId() {
        return policySetsId;
    }

    public PolicySetResultVo setPolicySetsId(Long policySetsId) {
        this.policySetsId = policySetsId;
        return this;
    }

    public List<ResultItem> getResultList() {
        return resultList;
    }

    public PolicySetResultVo setResultList(List<ResultItem> resultList) {
        this.resultList = resultList;
        return this;
    }
}
